package com.ybg.bookmanages.module.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("userinfos")
public class userinfos {
    @TableId( type = IdType.AUTO)
    private Long userid;
    private Long roleid;
    private String username;
    private String password;
    private String realname;
    private Long gender;
    private String carid;
    private String address;
    private String telephone;
    private Date registertime;
    @TableLogic
    private Long deleted;
}
